package command.CeilingFan;

import command.Command;

/**
 * Created by lenovo on 2018/1/3.
 */
public class CeilingFanOnCommand implements Command {
    CeilingFan ceilingFan;

    public CeilingFanOnCommand(CeilingFan ceilingFan) {
        this.ceilingFan = ceilingFan;
    }

    @Override
    public void execute() {
        ceilingFan.on();

    }

    @Override
    public void undo() {

    }
}
